#include <iostream>
using namespace std;

//函数声明
int max(int num1,int num2);

int main() {
    int a = 100;
    int b = 101;
    int ret;

    ret = max(a,b);

    cout << "Max value is :" << ret << endl;

    return 0;
}

//函数定义
int max(int num1,int num2) {
    int result;

    if (num1 > num2)
    {
        result = num1;
    }else {
        result = num2;
    }
    return result;
}